package com.stylefeng.guns.modular.system.service;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.common.persistence.model.TBill;
import com.stylefeng.guns.common.persistence.model.TTrain;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author stylefeng123
 * @since 2018-03-07
 */
public interface ITTrainService extends IService<TTrain> {

    List<Map<String, Object>> checkTrainList(Pagination pagination, String beginTime, String endTime, String name, String status, String dot_id);

    List<Map<String, Object>> checkTrainDirsList(Pagination pagination, String beginTime, String endTime, String name, String status, String dot_id);

    List<Map<String, Object>> checkTrainZZList(Pagination pagination, String beginTime, String endTime, String name, String status, String dot_id);Map<String, Object> checkTrainZZListGroup(Pagination pagination, String beginTime, String endTime, String name, String status, String dot_id);

    List<Map<String, Object>> checkTrainDetailList(String batch_no);

    List<Map<String, Object>> checkTrainDisDetailList(String batch_no);

    List<Map<String, Object>> checkTrainZZDetailList(String batch_no);

    void checkTrainDis(TTrain tTrain, TBill bill,String ys);

    void checkTrain(TTrain tTrain, TBill bill, String mA, String mB, String mC, String mD, String mE,String xj,String gz);
    //中转核销操作
    void transferHX(String id, String mon_bal_fee);
    //配送收银
//    void checkTrainPSDis(TTrain tTrain, TBill bill, String ys);
}
